package com.ctshk.rpc.insurance.req.taiping;

import com.ctshk.rpc.insurance.req.tp.ApplicantInfo;
import com.ctshk.rpc.insurance.req.tp.InsuredInfo;
import com.ctshk.rpc.insurance.req.tp.OtherInfo;
import com.ctshk.rpc.insurance.req.tp.RiskConsult;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value = "保险")
public class AcceptReq implements Serializable {

    private BaseInfo guMainDto;

    @ApiModelProperty(value = "保险计划代码")
    private List<PlanConsult> guItemAcciDetailDtoList;

    private AppliGuRelatedParty appliGuRelatedPartyDto;

    @NotEmpty(message = "被保人列表不能为空")
    @ApiModelProperty(value = "被保人列表")
    private List<GuItemAcc> guItemAcciListDtoList;

    private RiskConsult guRiskDto;

    private OtherInfo otherInfo;


}
